import Vue from "vue";
import App from "./App.vue";
import router from "./router";
// import router from './router/index-v1.js'
import store from "./store";
import element from "element-ui";
import "element-ui/lib/theme-chalk/index.css";

import "@/styles/index.scss"; // global css
import Print from "vue-print-nb";

import vueQuillEditor from "vue-quill-editor"; // 调用富文本编辑器
import "quill/dist/quill.snow.css"; // 富文本编辑器外部引用样式  三种样式三选一引入即可
import "quill/dist/quill.core.css";
import "quill/dist/quill.bubble.css";
Vue.use(Print);
Vue.use(vueQuillEditor);

// 用于统计展示图标
// import echarts from "echarts";
// Vue.prototype.$echarts = echarts;

// 按钮权限，通过指令控制
import permission from "@/directive/permission/index.js";
Vue.use(permission);

// 页面权限控制
import './permission'

// 暂时在这里引入一个主题样式文件，看是否生效，后期根据接口改成动态的
import "@/assets/theme/default.scss";
import "@/assets/theme/green.scss";
import "@/assets/theme/purple.scss";
import "@/assets/theme/white.scss";
import "@/assets/theme/blue.scss";
import "@/assets/theme/grey.scss";
// 全局公用的，字体图标文件
import "@/font_icon/iconfont.css";
//步骤条
import simpleStepBar from 'simple-step-bar'
Vue.use(simpleStepBar);

Vue.config.productionTip = false;
Vue.use(element);

new Vue({
  router,
  store,
  render: (h) => h(App),
}).$mount("#app");
